$(function() {
	
	var url = COMMON_URL.NGINX_URL+$('#materialName').val();
	$('#ppt').attr('src',url);
	//定时器
	interval();

});

function interval(){
	
	var time = $('#timer_million').val();
	var distanceTimes = $('#distanceTimes').val();
	var url = $('#timer_url').val();
	
	var href_url = COMMON_URL.URL+url;
	
	setInterval(function(){
		location.href = href_url;
	}, distanceTimes);
	
}